﻿CREATE TABLE [dbo].[ResponsabilVizaCFP] (
    [IDResponsabil] INT      IDENTITY (1, 1) NOT NULL,
    [IDPersoana]    INT      NOT NULL,
    [DataActivare]  DATETIME CONSTRAINT [DF_Table_1_Dataactivare] DEFAULT (getdate()) NOT NULL,
    [CodUnitate]    SMALLINT CONSTRAINT [DF_ResponsabilVizaCFP_CodUnitate] DEFAULT ((0)) NOT NULL,
    CONSTRAINT [PK_ResponsabilVizaCFP] PRIMARY KEY CLUSTERED ([IDResponsabil] ASC),
    CONSTRAINT [FK_ResponsabilVizaCFP_Unitati] FOREIGN KEY ([CodUnitate]) REFERENCES [dbo].[Unitati] ([CodUnitate])
);

